{extend name="default/users/base" /}
{block name="title"}违规举报 - 买家中心{__block__}{/block}
{block name="css"}
{/block}
{block name="content"}
  <div class="wst-user-head"><span>违规举报</span></div>
  <div class='wst-user-tbar'>
     商品名称：<select name="informStatus" id="informStatus" class="s-query">
          <option value="-1">举报处理状态</option>
          <option value="0">等待处理</option>
          <option value="1">无效举报</option>
          <option value="2">有效举报</option>
          <option value="3">恶意举报</option>
        </select>
     <button class="wst-sec-but u-btn" onclick="informByPage()">查询</button>
  </div>
  
  <div class='wst-user-content'>
    <table class='wst-list'>
       <thead>
	      <tr class='head' style="align-content: center;">
	         <th>举报编号</th>
	         <th>举报商品</th>
	         <th>涉及店铺</th>
	         <th>举报原因</th>
             <th>举报时间</th>
             <th>举报状态</th>
	         <th>操作</th>
	      </tr>
	   </thead>
<tbody id='list'></tbody>

    <script id="tblist" type="text/html">
       {{# for(var i = 0; i < d.length; i++){ }}
          <tr>
          <td style="text-align: center;">
            {{d[i]['informId']}}
          </td>
          
          <td>{{WST.cutStr(d[i]['goodsName'],30)}}</td>
          
          <td>{{d[i]['shopName']}}</td>

          <td title="{{d[i]['informContent']}}">{{WST.cutStr(d[i]['informContent'],30)}}</td>

          <td>{{d[i]['informTime']}}</td>

          <td>{{d[i]['informStatus']}}</td>

          <td><a style="cursor:pointer;" onclick="toView({{d[i]['informId']}})">查看</a></td>
         </tr>
       {{# } }}
      </script>
        <tfoot>
        <tr><td colspan='10' id='pager' align="center" style='padding:5px 0px 5px 0px'></td></tr>
        </tfoot>
  </table>
  </div>
{/block}
{block name="js"}
<script type='text/javascript' src='__STYLE__/users/informs/informs.js?v={$v}'></script>
<script>
$(function(){
	 informByPage({$p});
})
</script>
{/block}
